<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录页面</title>
</head>
<body>
   <form action="/login.do" method="post">
        <table>
            <tr>
                <td>姓名:</td>
                <td><input type="text" name="loginname"></td>
            </tr>
            <tr>
                <td>密码:</td>
                <td><input type="password" name="password"></td>
            </tr>
            <tr>
                <td colspan="2"><input type="submit" value="登录"></td>
            </tr>
        </table>
    </form>
    <div style="color: red">${loginError}</div>
</body>
</html>
